class Monitor {
    constructor() {
        this.config = null;
        this.getStartTime();
    }
    /**
     * 初始化配置信息
     * @param {*} config
     */
    init(config) {
        this.config = config;
    }
    /**
     * 初始化登录信息
     * @param {*} userId
     */
    login(userId) { }
    getStartTime() {
        const duration = window.firstScreen - performance.timing.navigationStart;
        console.log("首次渲染用时", duration)
    }
}
let monitor = new Monitor();
export default monitor;
